package com.ae.shield.common.block.tile;

import com.ae.shield.ModLib;
import com.ae.shield.common.block.BlockList;
import net.minecraft.tileentity.TileEntityType;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;

public class TileEntityList {
    public static final DeferredRegister<TileEntityType<?>> TILE_ENTITIES = DeferredRegister.create(ForgeRegistries.TILE_ENTITIES, ModLib.MOD_ID);
    public static final RegistryObject<TileEntityType<AssemblyTile>> ASSEMBLY_ENTITY = TILE_ENTITIES.register("assembly_tile", () -> TileEntityType.Builder.create(AssemblyTile::new, BlockList.ASSEMBLY_BLOCK.get()).build(null));
    public static final RegistryObject<TileEntityType<ShieldWorkbenchTile>> SHIELD_WORKBENCH_TILE = TILE_ENTITIES.register("shield_workbench_tile", () -> TileEntityType.Builder.create(ShieldWorkbenchTile::new, BlockList.SHIELD_WORKBENCH_BLOCK.get()).build(null));
    public static final RegistryObject<TileEntityType<NanoRobotProgrammerTile>> NANO_ROBOT_PROGRAMMER_TILE = TILE_ENTITIES.register("nano_robot_programmer_tile", () -> TileEntityType.Builder.create(NanoRobotProgrammerTile::new, BlockList.NANO_ROBOT_PROGRAMMER.get()).build(null));
}
